#include <iostream>
template <typename... Args>
auto sum(Args... args) {
    return (... + args);  // 将所有参数相加
}

int main() {
    int result = sum(1, 2, 3, 4, 5);
    std::cout << "Sum: " << result << std::endl;  // 输出: Sum: 15
}